<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    public function up(): void
    {
        Schema::table('categories', function (Blueprint $table) {
            // 添加group字段
            // $table->string('group')->default('goods')->comment('分组：goods商品分类，menu菜单');
            
        });
    }


    public function down(): void
    {
        Schema::table('categories', function (Blueprint $table) {
            //
        });
    }
};
